#include <stdio.h>
#include <math.h>
int main(){
//    a * x^2 + b * x +c = 0
    int num1,num2,num3;


}
void fun(int a,int b, int c){
    int der = pow(b,2) - 4 * a *c ;
    int result1 = 0;
    int result2 = 0;
    if(der < 0 ){
        printf("没有根");
    }else if(der == 0){
        result1 = result2 = (-b) / ( 2 * a );
        printf("%d",result1);
    }else{
        result1 = ( (-b) + sqrt(der) ) / ( 2 * a );
        result2 = ( (-b) - sqrt(der) ) / ( 2 * a );
        printf("%d,%d",result1,result2);
    }
//    printf("%d",der);
}